<%@ page language="java" import="java.util.*,com.fescoservice.model.*" pageEncoding="UTF-8"%>

<%
	String langfilename = "/resources/message";	
%>
<%@include file="LocaleManager.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>		
		<title>Menu</title>
		<link rel="stylesheet" href="<%=path%>/js/jquery/themes/redmond/jquery.ui.all.css">
		<script src="<%=path%>/js/jquery/jquery-1.5.1.js"></script>
		<script src="<%=path%>/js/jquery/external/jquery.bgiframe-2.1.2.js"></script>
		<script src="<%=path%>/js/jquery/ui/jquery.ui.core.js"></script>
		<script src="<%=path%>/js/jquery/ui/jquery.ui.widget.js"></script>
		<script src="<%=path%>/js/jquery/ui/jquery.ui.mouse.js"></script>
		<script src="<%=path%>/js/jquery/ui/jquery.ui.button.js"></script>
		<script src="<%=path%>/js/jquery/ui/jquery.ui.draggable.js"></script>
		<script src="<%=path%>/js/jquery/ui/jquery.ui.position.js"></script>
		<script src="<%=path%>/js/jquery/ui/jquery.ui.resizable.js"></script>
		<script src="<%=path%>/js/jquery/ui/jquery.effects.core.js"></script>
		<script src="<%=path%>/js/jquery.MultiFile.js"></script>
		<script src="<%=path%>/js/kindeditor/kindeditor.js"></script>
		
		<script>
			$(function(){
	
			
				
			})
			
			function DoMenu(cotrollerName,cmdParam,menuId){
				document.forms.mainForm.target="right";
				document.forms.mainForm.action="<%=path%>/action/"+cotrollerName;
				document.forms.mainForm.cmd.value=cmdParam;
				document.forms.mainForm.submit();
				swap(menuId);
			}
			function swap(menuId){
				$("#sidebar li").removeClass("active");
				$("#sidebar li.menu"+menuId).addClass("active");
			}
		</script>
		<style>
			*{
				margin:0;
				padding:0
			}
			a{
				text-decoration: none;
			}
			#sidebar {float:left; width:250px; background:url(<%=path%>/images/sb2.jpg) left repeat-y;}
			#sidebartop {background: url(<%=path%>/images/sb1.jpg) left top no-repeat; height:10px;}
			#sidebarbtm {background:url(<%=path%>/images/sb3.jpg) left top no-repeat; height:9px;}
			#sidebar ul {list-style:none; font:bold 14px "Trebuchet MS", Verdana, sans-serif; margin-bottom:15px;}
			#sidebar li {display:block; height:36px;margin-bottom:2px; }
			#sidebar a, #sidebar a:visited {
				display:block;
				background:url(<%=path%>/images/menu1.jpg) right top no-repeat;
				padding: 10px 10px 0 40px;
				height: 26px;
				color:#999;
			}
			#right h2 {
				color:#014782; font:normal 18px "Trebuchet MS", Verdana, sans-serif;
			}
			#right h2 a {color:#014782}
			#right h2 a:hover {color:#000; background:#ffffee; border:none;}
			#sidebar a:hover {background:url(<%=path%>/images/menu2.jpg) right top no-repeat; color:#333;}
			#sidebar .active a{background:url(<%=path%>/images/menu3.jpg) right top no-repeat; color:#000;}
			#sidebar h2 {
				display:block;
				background:url(<%=path%>/images/sidebarh2.jpg) no-repeat;
				height:40px;
				padding:14px 10px 0 40px;
				color: #186185;
				text-transform:uppercase;
			}
			
		</style>
	</head>
	<body>
	
	 <div id="sidebar">
	    <div id="sidebartop"></div>
	    <h2><%=resource.getString("FS_T_SERVICE_MANAGE")%></h2>
	    <ul>
	
	      	<li class="menu1"><a class="nav_off" onclick="DoMenu('Manage.htm','operatorlist',1)" href="#"><%=resource.getString("FS_T_RIGHT_MANAGE")%></a></li>
			<li class="menu2"><a class="nav_off" onclick="DoMenu('Company.htm','list',2)" href="#"><%=resource.getString("FS_T_COMPANY_MANAGE")%></a></li>
			<li class="menu3"><a class="nav_off" onclick="DoMenu('Customer.htm','list',3)" href="#"><%=resource.getString("FS_T_APPLICATION_MANAGE")%></a></li>
			<li class="menu4"><a class="nav_off" onclick="DoMenu('Manage.htm','visaservice',4)" href="#"><%=resource.getString("FS_T_CERT_SERVICE")%></a></li>
			<li class="menu5"><a class="nav_off" onclick="DoMenu('Manage.htm','exitservice',5)" href="#"><%=resource.getString("FS_T_EXIT_SERVICE")%></a></li>
			<li class="menu6"><a class="nav_off" onclick="DoMenu('Manage.htm','driveservice',6)" href="#"><%=resource.getString("FS_T_DRIVE_SERVICE")%></a></li>
		
	    </ul>
	 	<h2><%=resource.getString("FS_T_OTHER_MANAGE")%></h2>
	    <ul>
	      	<li class="menu7"><a class="nav_off" onclick="DoMenu('Link.htm','list1',7)" href="#"><%=resource.getString("FS_T_CERT_LINK_MANAGE")%></a></li>
			<li class="menu8"><a class="nav_off" onclick="DoMenu('Link.htm','list2',8)" href="#"><%=resource.getString("FS_T_ADV_LINK_MANAGE")%></a></li>
			<li class="menu9"><a class="nav_off" onclick="DoMenu('Category.htm','list',9)" href="#"><%=resource.getString("FS_T_INFO_TYPE_MANAGE")%></a></li>
	    </ul>
	    <div id="sidebarbtm"></div>
	</div>
	<div class="clear"></div>
		
		<form name="mainForm" method="post" action="">
			 <input type="hidden" name="cmd" />	
		</form>
		
	</body>
</html>
